package org.anupta.game.server.game.packet.account.character.channel;

import org.anupta.game.server.game.client.GameClient;
import org.anupta.game.server.game.packet.GamePacket;

public class AddChannel extends GamePacket {
	private String channel = null;
	
	public AddChannel(GameClient client, String addChan) {
		super(client);
		this.channel = addChan;
		pack();
		doPacket();
	}

	@Override
	public void unpack() {
	}

	@Override
	public void pack() {
		packetOut.append("cC+").append(channel);
	}

	@Override
	public void doPacket() {
		client.send(packetOut.toString());
	}
}
